package com.migo.service;

import com.migo.entity.MgSampleVideoEntity;

import java.util.List;
import java.util.Map;

/**
 * PVMG10样片
 * 
 * @author powervision
 * @email zhenrong.xu@powervision.me
 * @date 2021-03-29 19:35:46
 */
public interface MgSampleVideoService {
	
	MgSampleVideoEntity queryObject(Integer id);
	
	List<MgSampleVideoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(MgSampleVideoEntity mgSampleVideo);
	
	void update(MgSampleVideoEntity mgSampleVideo);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);


	List<MgSampleVideoEntity>  querySampleVideoList(Map<String, Object> map);

	boolean flushHomeVideoCache();

	List<Map<String,Object>>  queryHomePage(Map<String, Object> map);

	MgSampleVideoEntity queryTutorialVideoDetail(Map<String, Object> map);

	List<MgSampleVideoEntity> queryTutorialVideoByPage(Map<String, Object> map);
}
